package com.by.mapper;

import com.by.bean.OrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderDetailMapper {
    /**
     * 批量保存
     * @param oid 订单id
     * @param orderDetailList 订单明细
     * @return
     */
    int batchSave(@Param("oid") int oid,@Param("orderDetailList") List<OrderDetail> orderDetailList);

}
